﻿#ifndef MAINSCENCE_H
#define MAINSCENCE_H

#include <QWidget>
#include <QFileDialog>
#include "videofilter.h"
#include "audiofilter.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainScence; }
QT_END_NAMESPACE

class MainScence : public QWidget
{
    Q_OBJECT

public:
    MainScence(QWidget *parent = nullptr);
    ~MainScence();

    //初始化状态
    void initState();

    //返回选择文件
    QString getSelectFilePath();

private slots:
    void on_btnYUVFile_clicked();
    void on_btnStartVideoFilter_clicked();
    void on_btnPCMFile_clicked();
    void on_btnPCMFile_2_clicked();
    void on_btnStartAudioMix_clicked();

private:
    Ui::MainScence *ui;

    VideoFilter videoFilter;
    AudioFilter audioFilter;
};
#endif // MAINSCENCE_H
